package top.buyibuyi.course.dao.admin;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import top.buyibuyi.course.pojo.Admin;

@Mapper
public interface UpdateAdminDao {

    @Update("update admin set name = #{name},username = #{username},password = #{password},sex = #{sex},phone = #{phone},power = #{power},jobn = #{jobn}" +
            "where id = #{id}")
    Boolean updateAdmin(Admin admin);
}
